Skip to content

Conversation

malletgu
Copy link
Contributor

When a message is being sent to Kafka the acknowledgement should also contains the headers.

Motivation:

Resolves #144

Modifications:

Reused the parsing function from KafkaConsumer in the producer path to return headers in the ack.

Result:

Headers available in the acknowledgement for producers and still available for consumers as well.

When a message is being sent to Kafka the acknowledgement should also contains the headers.
@mimischi mimischi added the 🆕 semver/minor Adds new public API. label Nov 15, 2024
Copy link
Contributor

@FranzBusch FranzBusch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Thanks for working on this

@FranzBusch FranzBusch merged commit 09aca6b into swift-server:main Nov 15, 2024
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🆕 semver/minor Adds new public API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

KafkaAcknowledgedMessage lacks headers
3 participants